package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.ShelvesStockStatisticsEntity;
import io.renren.modules.sys.entity.ShelvesStockEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-03-20 13:50:54
 */
@Mapper
public interface ShelvesStockDao extends BaseMapper<ShelvesStockEntity> {
    List<ShelvesStockEntity> queryListPage(@Param("name")String name, @Param("groupid")String groupid,@Param("shelvesid")int shelvesid,@Param("currPage")int currPage, @Param("pageSize")int pageSize);

    int queryListcount(@Param("name")String name, @Param("groupid")String groupid,@Param("shelvesid")int shelvesid);

    ShelvesStockStatisticsEntity getStatistics(@Param("name")String name, @Param("groupid")String groupid,@Param("shelvesid")int shelvesid);
}
